package com.xiaoshuidi.cloud.module.system.convert.auth;

import com.xiaoshuidi.cloud.module.system.api.auth.dto.UserIdAuthRespDTO;
import com.xiaoshuidi.cloud.module.system.dal.dataobject.auth.UserIdAuthenticationDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 用户实名认证 Convert
 *
 * @author 合房租赁
 */
@Mapper
public interface UserIdAuthenticationConvert {

    UserIdAuthenticationConvert INSTANCE = Mappers.getMapper(UserIdAuthenticationConvert.class);

    UserIdAuthRespDTO convert(UserIdAuthenticationDO bean);

    List<UserIdAuthRespDTO> convertList(List<UserIdAuthenticationDO> bean);

}
